﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication6
{
    class test{
        string var;
        public test (string s)
        {
            var = s;
        }
        public string outp(){
            return var;    
        }
    }
    class Program
    {
        static void Main(string[] args)
        {
            test a = new test("hello world ");
            Console.WriteLine(a.outp());
            Console.Read();
        }
    }
}
